<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>  
<%
	String path = request.getContextPath();
%>
     	<script type="text/javascript">
    var params =  GET_W2W().data;
   var  cstId = params.cstId;
	var cstTypCd =  params.cstTypCd;
	var prjId =  params.prjId;
	 var detailFlag = params.detailFlag;
	var  cstRlCd = params.cstRlCd;
	var  prjCstId = params.prjCstId;
$(function () {
	var current = '${param.currentNav}';
	if(current=="prjCorpGuarEmpIntvRec"){
			if(cstTypCd==ProjectConstant.CST_TYP_CD_LP){
				$("#prjCorpGuarEmpIntvRec").show();
		 $('.pageIn2L_side .links').pageInSideLink({currentNav:'prjCorpGuarEmpIntvRec'}); 
			}
			
			if(cstTypCd==ProjectConstant.CST_TYP_CD_NP){
				 $('.pageIn2L_side .links').pageInSideLink({currentNav:'prjNpGuarEmpIntvRec'}); 
				$("#prjNpGuarEmpIntvRec").show();
			}
	}
	 $('.pageIn2L_side .links').pageInSideLink({currentNav:'${param.currentNav}'}); 
	//点击加载页面信息
		var prjCstAssMbInfoUrl ="<%=path%>/project/prjcstassmbInfo/toGuarListPage.do?"+
				"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjGuarAssMbInfo").attr("data-src",prjCstAssMbInfoUrl);
		var prjcstempintvrecUrl ="<%=path%>/project/prjcstempintvrec/toGuarListPage.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjGuarEmpIntvRec").attr("data-src",prjcstempintvrecUrl);
		
		var prjcstempintvrecUrl ="<%=path%>/project/prjcstempintvrec/toGuarListPage.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjCorpGuarEmpIntvRec").attr("data-src",prjcstempintvrecUrl);
		$("#prjNpGuarEmpIntvRec").attr("data-src",prjcstempintvrecUrl);
		
		var prjguarinvestrptUrl ="<%=path%>/project/prjcstinvestrpt/toGuarAddPage.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjcstinvestrpt").attr("data-src",prjguarinvestrptUrl);
		var prjSurveyPhotosUrl ="<%=path%>/project/prjbscinfo/toGuarProjectSurveyPhotosList.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjSurveyPhotos").attr("data-src",prjSurveyPhotosUrl);
		var prjVisitPhotosUrl ="<%=path%>/project/prjbscinfo/toGuarProjectVisitPhotosList.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjVisitPhotos").attr("data-src",prjVisitPhotosUrl);
		var prjcstrepayabiUrl ="<%=path%>/project/prjcstrepayabi/toGuarAddPage.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjcstrepayabi").attr("data-src",prjcstrepayabiUrl);
		var prjInvestRptUrl ="<%=path%>/project/prjbscinfo/toPrjGuarInvestRptPage.do?"+
		"prjId="+prjId+"&&detailFlag="+detailFlag+"&&cstRlCd="+cstRlCd+"&&cstId="+cstId+"&&prjCstId="+prjCstId+"&&cstId="+cstId+"&&cstTypCd="+cstTypCd;
		$("#prjInvestRpt").attr("data-src",prjInvestRptUrl); 
	
		if(cstTypCd==ProjectConstant.CST_TYP_CD_LP){
			$("#prjCorpGuarEmpIntvRec").show();
		}
		
		if(cstTypCd==ProjectConstant.CST_TYP_CD_NP){
			$("#prjNpGuarEmpIntvRec").show();
			$("#prjGuarAssMbInfo").show();
		}
		
		//根据不同的客户类型显示不同的菜单（自然人、法人区分）
		
});
    </script>
        <div class="pageIn2L_side">
            <div class="sqPanel">
                <div class="sqPanel_head">担保人资信信息</div>
                <div class="sqPanel_body">
                    <ul class="links">
			                <li  title="客户员工访谈记录" id="prjCorpGuarEmpIntvRec" data-src=""  style="display: none">客户员工访谈记录</li>
			               <li  title="邻居/同业人员评价" id="prjNpGuarEmpIntvRec" data-src="" style="display: none">邻居/同业人员评价</li>
			              <li  title="家庭资产情况" id="prjGuarAssMbInfo" data-src="" style="display: none">家庭资产情况</li>
			               <li  title="调查人员意见及承诺" id="prjcstinvestrpt" data-src="">调查人员意见及承诺</li>
			               <li  title="担保人还款能力" id="prjcstrepayabi" data-src="">担保人还款能力</li>
			                <li  title="考察照片" id="prjSurveyPhotos" data-src="">考察照片</li>
			                 <li  title="家访照片" id="prjVisitPhotos" data-src="">家访照片</li>
			                 <li  title="担保人资信报告" id="prjInvestRpt" data-src=""> 担保人资信报告</li>
			           <!--    <li  title="客户员工访谈记录" id="prjcstempintvrec" data-src="">客户员工访谈记录</li>
			               <li  title="调查人员意见及承诺" id="prjcstinvestrpt" data-src="">调查人员意见及承诺</li>
			               <li  title="客户自有车辆" id="prjcstownvehicle" data-src="">客户自有车辆</li>
			               <li  title="收益分析" id="prjcstprofitana" data-src="">收益分析</li>
			                <li  title="客户还款能力" id="prjcstrepayabi" data-src="">客户还款能力</li>
			                 <li  title="考察照片" id="prjSurveyPhotos" data-src="">考察照片</li>
			                 <li  title="家访照片" id="prjVisitPhotos" data-src="">家访照片</li>
			                  <li  title="项目联系人" id="prjlinkman" data-src=""> 项目联系人</li>
			                  <li  title="项目整体资信报告" id="prjInvestRpt" data-src=""> 项目整体资信报告</li> -->
            </ul>
                </div>
            </div>
        </div>
